package ModelLayer;

public class Staff extends Person
{
    private double saleAmount;
    private double salary;
    private String position;
    public Staff(String firstName, String lastName, String address, String zipcode, String city, String phoneNo, double salary, String position)
    {
      super(firstName, lastName, address, zipcode, city, phoneNo);
      this.saleAmount = saleAmount;
      this.salary = salary;
      this.saleAmount = 0;
      this.position = position;
    }
   
    public double getSalary()
    {
        return salary;
    }
    public double getSaleAmount()
    {
        return saleAmount;
    }
    public String getPosition()
    {
        return position;
    }
    public void setSalary(double salary)
    {
        this.salary = salary;
    }
    public void setPosition(String position)
    {
        this.position = position;
    }

}
